<!doctype html>
<html>
	<head>
	    <meta charset="utf-8">
	    <title>闪动金管家</title>
	    <meta http-equiv="x-ua-compatible" content="ie=edge">
	    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
	    <link rel="stylesheet" href="../../../wap/module/bootstrap/css/bootstrap.min.css">
	    <link rel="stylesheet" href="../../../wap/module/bootstrap/font-awesome/css/font-awesome.min.css">
	    <link rel="stylesheet" href="../../../wap/module/apps/css/style.css">
	    <!--JS-->
	    <script src="../../../wap/module/bootstrap/js/jquery.min.js"></script>
	    <script src="../../../wap/module/bootstrap/js/bootstrap.min.js"></script>
	</head>
	<body onload="ajaxTj()">
		<div class="bootPage">
		    <div class="logo"><img src="../../../wap/module/apps/images/logo.png"></div>
		    <div class="boot">
		        <div class="boot-i"><img src="../../../wap/module/apps/images/pic.jpg"></div>
		        <h3>专业、便捷、安全、稳定</h3>
		        <h5>信用卡代还，手续费低至49元还一万</h5>
		    </div>
		    <div class="download">
		        <div class="list"><a onclick="ajaxTj()" href="javascript:;"><img src="../../../wap/module/apps/images/icon.png"><span>下载Iphone客户端</span></a></div>
		        <div class="list"><a onclick="ajaxTj()" href="javascript:;"><img src="../../../wap/module/apps/images/icon2.png"><span>下载Android客户端</span></a></div>
		    </div>
		</div>
		<!--弹出-->
		<div class="popupBc"></div>
		<div class="popupBox" onclick="popupHide()">
		    <div class="open"><img src="../../../wap/module/apps/images/pic2.png"></div>
		    <div class="explain"><img src="../../../wap/module/apps/images/pic3.png"></div>
		    <div class="know"><img src="../../../wap/module/apps/images/pic4.png"></div>
		</div>
		
		<script>
			function ajaxTj() {
				var browser = {
					versions : function() {
						var u = navigator.userAgent, app = navigator.appVersion;
						return {
							trident : u.indexOf('Trident') > -1,
							presto : u.indexOf('Presto') > -1,
							webKit : u.indexOf('AppleWebKit') > -1,
							gecko : u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,
							mobile : !!u.match(/AppleWebKit.*Mobile.*/)
									|| !!u.match(/AppleWebKit/),
							ios : !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
							android : u.indexOf('Android') > -1
									|| u.indexOf('Linux') > -1,
							iPhone : u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1,
							iPad : u.indexOf('iPad') > -1,
							webApp : u.indexOf('Safari') == -1
						};
					}()
				}
		
				if (is_weixin()) {
					 $(".popupBc").show();
			         $(".popupBox").show();
				}
				else {
					if (browser.versions.ios || browser.versions.iPhone
							|| browser.versions.iPad) {
						window.location.href = "http://www.pgyer.com/SDPay?"+new Date().getTime();
					} else {
						window.location.href = "http://www.pgyer.com/YVhh?"+new Date().getTime();
					}
				}
			}
			
			function is_weixin(){
		        var ua = navigator.userAgent.toLowerCase();
		        if(ua.match(/MicroMessenger/i)=="micromessenger") {
		            return true;
		        } else {
		            return false;
		        }
		    }
			function popupHide() {
				$(".popupBc").hide();
				$(".popupBox").hide();
			}
		
		</script>
	</body>
		
</html>